﻿//Author:Michal Sporna
//License: https://operationsneakpeek.codeplex.com/license

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Util.Classes
{
    /// <summary>
    /// Represents a texture that is to be drawn
    /// </summary>
    public class TextureToDraw
    {
        #region properties
        public string Texture; //Name of the texture (from cache)
        //below measurements are in string format so they can be easily read from the xml file
        public string XString; //Location X
        public string YString; //location Y
        public string WidthString;
        public string HeightString;
        //properly converted measurements below:
        public int X;//Location X
        public int Y; //location Y
        public int Width;
        public int Height;
        //sound:
        public int NoiseFactorRun;
        public int NoiseFactorWalk;
        public int NoiseFactorDown;
        public int NoiseFactorCrouch;
        public Util.Classes.Sound StepSound;

        //texture instance
        public bool TextureSet;
        public Texture2D TextureInstance;

        #endregion

        #region methods

     


        #endregion

    }
}
